<template>
	<view class="page">
		<view class="input-wrap">
			<view class="input-item border-b">
				<view class="input-label">姓名</view>
				<view class="input"><input type="text" v-model="driverName" placeholder="请输入您的真实姓名"></view>
			</view>
			<view class="input-item">
				<view class="input-label">手机号</view>
				<view class="input"><input type="text" v-model="driverPhone" placeholder="请输入您的手机号码"></view>
			</view>
		</view>

		<view class="upload-wrap">
			<view class="upload-tip">请上传您的身份证</view>
			<view class="upload-box">
				<view class="upload-item" @click="chooseImages('idcard_pic1')">
					<image src="../../../static/app/upload-bg-1.png" mode="" v-if="imageList.idcard_pic1 == ''"></image>
					<!-- <image :src="imageList.idcard_pic1" mode="" v-else></image>
					<view class="upload-icon" v-if="imageList.idcard_pic1 == ''">
						<image src="../../../static/app/upload-icon.png" mode="">
					</view> -->

				</view>
				<view class="upload-item" @click="chooseImages('idcard_pic2')">
					<image src="../../../static/app/upload-bg-2.png" mode="" v-if="imageList.idcard_pic2 == ''"></image>
					<!-- <image :src="imageList.idcard_pic2" mode="" v-else></image>
					<view class="upload-icon" v-if="imageList.idcard_pic2 == ''">
						<image src="../../../static/app/upload-icon.png" mode="">
					</view> -->
				</view>
			</view>

			<view class="upload-tip">请上传您的驾驶证</view>
			<view class="upload-box">
				<view class="upload-item" @click="chooseImages('driving_license1')">
					<image src="../../../static/app/upload-bg-7.png" mode="" v-if="imageList.driving_license1 == ''"></image>
					<!-- <image :src="imageList.driving_license1" mode="" v-else></image>
					<view class="upload-icon" v-if="imageList.driving_license1 == ''">
						<image src="../../../static/app/upload-icon.png" mode="">
					</view> -->
				</view>
				<view class="upload-item" @click="chooseImages('driving_license2')">
					<image src="../../../static/app/upload-bg-6.png" mode="" v-if="imageList.driving_license2 == ''"></image>
					<!-- <image :src="imageList.driving_license2" mode="" v-else></image>
					<view class="upload-icon" v-if="imageList.driving_license2 == ''">
						<image src="../../../static/app/upload-icon.png" mode="">
					</view> -->
				</view>
			</view>
			<view class="upload-tip">三年无重大事故证明</view>
			<view class="upload-box d-s-c f-w">
				<block v-for="(image,index) in car_pic" :key="index">
					<view class="upload-item">
						<image class="upload-imgs1" :src="image" mode=""></image>
						<view class="icon iconfont icon-guanbi" @tap="delect(index)"></view>
					</view>
				</block>
				<view class="upload-item" @click="chooseImages('car_pic')">
					<image src="../../../static/prove.png" mode=""></image>
					<!-- <view class="upload-icon">
						<image src="../../../static/app/upload-icon.png" mode="">
					</view> -->
				</view>
			</view>
		</view>
		<view>
			<view class="auditing">
				<image src="../../../static/inp1.png"></image>
				<text>审核中，请耐心等待审核结果</text>
			</view>
			<view class="auditFail">
				<image src="../../../static/inp2.png"></image>
				<text>审核失败，请重新上传</text>
			</view>
			<view class="submitted">
				
			</view>
		</view>
		<view style="height: 150rpx;"></view>
		<view class="bottom-wrap"  @click="">
			<view>审核中</view>
			<!-- <view>已提交</view> -->
		</view>
	
	</view>
</template>

<script>
	export default {
		
		data() {
			return {
				imageList: {
					idcard_pic1: '',
					idcard_pic2: '',
					driving_license1: '',
					driving_license2: '',
				},
				car_pic: [],
				cityPickerValueDefault: [0, 0, 0],
				selectCity: '选择省,市,区',
				province_id: '',
				city_id: '',
				region_id: '',
				driverName:'',//司机名字
				driverPhone:'',//司机手机号
			};
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
@import 'inputMsgSbm.scss';
</style>
